                <header>
			<a href="/" id="main_logo" title="myde.sk"><span>myde.sk</span></a>
		</header>
                <div id="shadow_panel"></div>
		<nav class="main_navigation">
			<ul>
				<li>
                                    <a href="/search" id="search_icon"><span>wyszukaj</span></a>
                                </li>
                                <?php if(isset($user_url)): ?>
                                <li><a href="/desktop/<?php echo $user_url ?>" id="desktop_icon"><span>desktop</span></a></li>
				<li><a href="/profile/<?php echo $user_url ?>" id="profile_icon"><span>profil</span></a></li>
                                <li>
                                    <a href="/contact/" id="contact_icon">
                                        <span>contact</span>
                                        <div class="toolbar_notice" <?php  if(! (bool)$amounts_notices['amount_new_invitations']) echo 'style="display: none"' ?>>
                                            <?php echo $amounts_notices['amount_new_invitations']; ?>
                                        </div>
                                    </a>
                                </li>
				<li>
                                    <a href="/message/inbox" id="message_icon">
                                        <span>wiadomości</span>
                                        <div class="toolbar_notice" <?php  if(! (bool)$amounts_notices['amount_new_messages']) echo 'style="display: none"' ?>>
                                            <?php echo $amounts_notices['amount_new_messages']  ?>
                                        </div>
                                    </a>
                                </li>
                                <li>
                                    <a href="" id="notification_icon">
                                        <span>powiadomienia</span>
                                        <div class="toolbar_notice" <?php  if(! (bool)$amounts_notices['amount_new_notifications']) echo 'style="display: none"' ?>>
                                            <?php echo $amounts_notices['amount_new_notifications']  ?>
                                        </div>
                                    </a>
                                </li>
				<li><a href="/settings/" id="setting_icon"><span>ustawienia</span></a></li>
				<li><a href="/account/logout" id="logout_icon"><span>wyloguj</span></a></li>
                                <?php endif ?>
			</ul>
                    
		</nav>
                <div id="search_box">
                    <div class="info_box"><strong><?php echo __('search') ?></strong><a href="/search" style="float: right"><?php echo __('go to advanced search') ?></a></div>
                    <div class="content_box">
                                        <?php echo Form::open('search', array('method' => 'get'))?>
                                        <?php echo Form::input('search_word',null,array('class' => 'standard_text_form',
                                                                                   'placeholder' => __('What You looking for').'...',
                                                                                   'style' => 'width: 300px; float: none')) ?>
                                        <?php echo Form::close() ?>
                    </div>
                </div>
                <div id="invitation_box" class="user_list_box" style="width: 400px">
                    <div class="info_box"><strong><?php echo __('invitations') ?></strong><a href="/contact/find" style="float: right"><?php echo __('find contacts') ?></a></div>
                    <ul class="list">                  
                        <li class="toggle_loader"><img src="/public/application/images/icon_ajax_loader.gif" alt=""/></li>
                    </ul>
                    <div class="link_box"><a href="/contact"><?php echo __('show all invitations') ?></a></div>
                </div>
                <div id="inbox_box" class="user_list_box" style="width: 350px">
                    <div class="info_box"><strong><?php echo __('messages') ?></strong><a href="/message/write" style="float: right"><?php echo __('send new message') ?></a></div>
                    <ul class="list">                  
                        <li class="toggle_loader"><img src="/public/application/images/icon_ajax_loader.gif" alt=""/></li>
                    </ul>
                    <div class="link_box"><a href="/message/inbox"><?php echo __('show all messages') ?></a></div>
                </div>
                <div id="notification_box" class="user_list_box" style="width: 350px">
                    <div class="info_box"><strong><?php echo __('notifications') ?></strong></div>
                    <ul class="list">                  
                        <li class="toggle_loader"><img src="/public/application/images/icon_ajax_loader.gif" alt=""/></li>
                    </ul>
                </div>
                
                <?php echo $content ?>


